<#-- 全局变量 -->
<#assign _var_website="http://www.56daily.com">
<#assign _var_webname="物流日报">
<#assign _var_title="物流日报提供最及时、最全面的物流资讯">
<#assign _var_keywords="物流日报,物流新闻,物流资讯,物流,供应链,快递,货运,海运,航运,空运,铁路运输,物流金融,物流地产,电商物流,冷链运输,生鲜电商,智慧物流,物流地产,绿色物流,物流法规,物流论文,物流书刊,物流视频">
<#assign _var_description="物流日报汇集全网优质物流信息资源。及时收录物流、供应链、快递、货运、海运、航运、空运、铁路运输、物流金融、物流地产、电商物流、冷链运输、生鲜电商、智慧物流、物流地产、绿色物流、物流法规、物流论文、物流书藉、物流视频等最新的新闻资讯和内容。找物流信息，从物流日报开始。">

<#-- 导航条 -->
<#macro _macro_navigation>
        <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>                        
                    </button>
                    <a class="navbar-brand" href="/index.html">物流日报</a>
                </div>
                <div class="collapse navbar-collapse" id="myNavbar">
                    <ul class="nav navbar-nav">
                        <#list navigationPager.data as navigation>
                        <li><a href="${navigation.nlink}" title="${navigation.nname}">${navigation.nname}</a></li>
                        </#list>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li class="userinfo" style="display: none;">
                            <a href="#">
                                <span class="glyphicon glyphicon-user"></span>
                            </a>
                        </li>
                        <li class="logininfo">
                            <a href="http://wss.56daily.cn/sys/openUser.action?thirdcom=QQ">
                                <img src="/css/qq.jpg" alt="QQ登录">
                            </a>
                        </li>
                        <li class="logininfo">
                            <a href="http://wss.56daily.cn/sys/openUser.action?thirdcom=WB">
                                <img src="/css/sina.jpg" alt="微博登录">
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
</#macro>

<#-- 侧边栏 -->
<#macro _macro_aside>
                    <!-- start widget -->
                    <div class="widget">
                        <h4 class="title">今日天气</h4>
                        <div class="content download">
                            <iframe allowtransparency="true" frameborder="0" width="255" height="98" scrolling="no" src="http://tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=1&v=0&d=1&bd=0&k=&f=&q=1&e=1&a=1&c=54511&w=255&h=98&align=center"></iframe>
                        </div>
                    </div>
                    <!-- end widget --> 
                    
                    <!-- start widget -->
                    <!--
                    <div class="widget">
                        <h4 class="title">快递查询</h4>
                        <div class="content kuaidi">
                            <div class="input-group">
                                <input type="text" id="tiid" class="form-control" placeholder="请输入快递单号">
                                <span class="input-group-btn">
                                    <button class="btn btn-danger" type="button" id="searchOrder">
                                        <span class="glyphicon glyphicon-search"></span>  查  询
                                    </button>
                                </span>
                            </div>
                            <div id="orderStatus" style="min-height:50px;"></div>
                        </div>
                    </div>
                    -->
                    <!-- end widget --> 
                    
                    <!-- start widget -->
                    <div class="widget">
                        <h4 class="title">中国物流业景气指数</h4>
                        <div class="content indexLPI">
                            <div id="indexLPI" style="height:258px;"></div>
                        </div>
                    </div>
                    <!-- end widget --> 
                    
                    <!-- start widget -->
                    <div class="widget">
                        <h4 class="title">中国仓储指数</h4>
                        <div class="content indexWI">
                            <div id="indexWI" style="height:258px;"></div>
                        </div>
                    </div>
                    <!-- end widget --> 
                    
                    <!-- start widget -->
                    <div class="widget">
                        <h4 class="title">中国电商物流指数</h4>
                        <div class="content indexELI">
                            <div id="indexELI" style="height:258px;"></div>
                        </div>
                    </div>
                    <!-- end widget --> 
                    
                    <!-- start widget -->
                    <div class="widget">
                        <h4 class="title">友情链接</h4>
                        <div class="content friend-links">
                            <a href="http://lusongsong.com/" target="_blank">卢松松博客</a>
                            <a href="http://www.tbhyb.com/" target="_blank" >分类目录网</a>
                            <a href='http://www.links.cn/' target="_blank">站长工具</a>
                        </div>
                    </div>
                    <!-- end widget -->
                    
                    <!-- start widget -->
                    <div class="widget">
                        <div class="content copyright">
                            <p>
                                Copyright &copy; <a href="${_var_website}">物流日报</a>
                            </p>
                            <p>
                                <a href="http://www.miitbeian.gov.cn/" target="_blank">沪ICP备14016888号-1</a>
                            </p>
                            <p>
                                <script src="http://v1.cnzz.com/z_stat.php?id=1000426340&web_id=1000426340" language="JavaScript"></script>
                            </p>
                        </div>
                    </div>
                    <!-- end widget --> 
</#macro>

<#macro _macro_jiathis>
        <div class="jiathis_style_32x32" style="height:32px;">
            <span class="jiathis_txt">分享到：</span>
            <a class="jiathis_button_tsina"></a>
            <a class="jiathis_button_weixin"></a>
            <a class="jiathis_button_qzone"></a>
            <a class="jiathis_button_tqq"></a>
        </div>
        <script type="text/javascript">
        var jiathis_config = {data_track_clickback:'true'};
        </script>
        <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=2116787" charset="utf-8"></script>
</#macro>

<#-- 页面模版 -->
<#macro _html title="", dynamic="">
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>${_var_title}</title>
    <meta name="description" content="${_var_description}" />
    <meta name="keywords" content="${_var_keywords}">
    <meta name="HandheldFriendly" content="True" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="generator" content="te 1.0" />
    
    <link rel="shortcut icon" href="/css/favicon.ico">
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="${_var_website}/css/screen.css" />
    <link rel="canonical" href="${_var_website}" />
    
    
    <script type="text/javascript" src="//cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <script type="text/javascript" src="//cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="//cdn.bootcss.com/echarts/3.4.0/echarts.min.js"></script>
    <script type="text/javascript" src="${_var_website}/js/jvs.js"></script>
</head>

<body class="home-template">
    <!-- start navigation -->
    <div class="main-navigation">
        <#if dynamic == "false">
        <@_macro_navigation></@_macro_navigation>
        </#if>
    </div>
    <!-- end navigation -->

    <!-- start site's main content -->
    <div class="main-content">
        <#nested/>
    </div>
    <!-- end site's main content -->
    
    <a href="#" id="back-to-top"><i class="fa fa-angle-up"></i></a>
</body>
</html>
</#macro>


<#-- 获取文章的链接 -->
<#function _func_getArticleLink article>
    <#return article.apath?replace('/'+article.scid, '')?replace('.article', '.html')>
</#function>

<#function _func_getUpArticleLink article>
    <#return article.uppath?replace('/'+article.scid, '')?replace('.article', '.html')>
</#function>

<#function _func_getDownArticleLink article>
    <#return article.downpath?replace('/'+article.scid, '')?replace('.article', '.html')>
</#function>

<#function _func_getTitle str>
    <#if str?length gt 13>
    <#return str?substring(0, 13)+"...">
    <#else>
    <#return str>
    </#if>
</#function>